package com.cscec.website.index.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by Administrator on 2019/9/4.
 */

@Controller
@RequestMapping("admin/")
public class IndexController {
    /**
     * 用户首页，用于登录之后给用户看一些信息
     * 信息可以从数据库中取，这边作为demo，暂时写死
     * @return
     */
    @RequestMapping("home")
    String home(HttpServletRequest request) {
        return "Noname1";
    }

}
